import request from '@/utils/request'
import { systemServiceApi } from '../config'

export function getPermissions(token) {
  return request({
    url: systemServiceApi + '/ui-permissions',
    method: 'get',
    params: { token }
  })
}

export function logout() {
  return request({
    url: systemServiceApi + '/logout',
    method: 'post'
  })
}

